package com.matt.service;

import com.matt.domain.course.CoursePlanClasses;
import com.matt.foundation.query.ClassesCoursePlanQuery;
import com.matt.foundation.vo.course.WebCoursePlanListVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/11/28
 * *******************************
 */
public interface CourseAuditService {
    Map getAuditor(String areaId);

    Map getAuditorSetting(String areaId);

    Map getAuditor(String areaId, String key);

    Boolean addAuditor(String areaId, String teacherId, Integer isOpen, Integer category);

    Boolean needAudit(String areaId, Integer category);

    Page<WebCoursePlanListVo> getCourseList(ClassesCoursePlanQuery query);
    
    Page<WebCoursePlanListVo> getKXCourseList(ClassesCoursePlanQuery query);
    List<WebCoursePlanListVo> getKXPrepareCourseTeacherList(ClassesCoursePlanQuery query);
    Boolean audit(String coursePlanClassesId, Integer status);

    Long nonAuditCount(String areaId, String staffId);

    Boolean isDisplayMenu(String staffId, String areaId);
    
    Boolean auditByCoursePlanClasses(CoursePlanClasses coursePlanClasses);

}
